package logic.game;

import geom.Point;
import geom.Shape;


/**
 * Abstract class responsible for representing zones on the {@link GameField}
 * @author Peter Zastoupil, peterzastoupil@gmail.com
 *
 */
public abstract class ZoneObject extends GameObject {
	
	/**
	 * Represents the two dimensional shape of the ZoneObject
	 */
	Shape zoneShape;
	
	/**
	 * Determines if a given position (represented by a {@link Point} object) is included in the ZoneObject
	 * @param position is the {@link Point} searched for in the ZoneObject
	 * @return true if the position is contained by the ZoneObject
	 */
	abstract boolean inZone(Point position);

}
